[INFO] fetching crate shared_singleton 0.2.1...
[INFO] testing shared_singleton-0.2.1 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate shared_singleton 0.2.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate shared_singleton 0.2.1
[INFO] finished tweaking crates.io crate shared_singleton 0.2.1
[INFO] tweaked toml for crates.io crate shared_singleton 0.2.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate shared_singleton 0.2.1 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f531283ab8727267b98dd32d7c89ade520e1c447c6d556864b294e1450217936
[INFO] running `Command { std: "docker" "start" "-a" "f531283ab8727267b98dd32d7c89ade520e1c447c6d556864b294e1450217936", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f531283ab8727267b98dd32d7c89ade520e1c447c6d556864b294e1450217936", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f531283ab8727267b98dd32d7c89ade520e1c447c6d556864b294e1450217936", kill_on_drop: false }`
[INFO] [stdout] f531283ab8727267b98dd32d7c89ade520e1c447c6d556864b294e1450217936
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eab4d17898817a9f068bbdf84a3e5cb753a966963999b961b024c5f0e596b575
[INFO] running `Command { std: "docker" "start" "-a" "eab4d17898817a9f068bbdf84a3e5cb753a966963999b961b024c5f0e596b575", kill_on_drop: false }`
[INFO] [stderr]    Compiling shared_singleton v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] running `Command { std: "docker" "inspect" "eab4d17898817a9f068bbdf84a3e5cb753a966963999b961b024c5f0e596b575", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eab4d17898817a9f068bbdf84a3e5cb753a966963999b961b024c5f0e596b575", kill_on_drop: false }`
[INFO] [stdout] eab4d17898817a9f068bbdf84a3e5cb753a966963999b961b024c5f0e596b575
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7fea9c411851d53c6aabb8fa6caecb3a0aaae43ac6620dd959828e622812fa0
[INFO] running `Command { std: "docker" "start" "-a" "c7fea9c411851d53c6aabb8fa6caecb3a0aaae43ac6620dd959828e622812fa0", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling shared_singleton v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))]
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 119 |         impl_singleton_rc!(Foo, Foo);
[INFO] [stdout]     |         ---------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 126 |         impl_singleton_rc_cell!(Foo, Foo);
[INFO] [stdout]     |         --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc_cell` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 133 |         impl_singleton_rc_refcell!(Foo, Foo);
[INFO] [stdout]     |         ------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc_refcell` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 140 |         impl_singleton_arc!(Foo, Foo);
[INFO] [stdout]     |         ----------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 147 |         impl_singleton_arc_mutex!(Foo, Foo);
[INFO] [stdout]     |         ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/singleton.rs:20:26
[INFO] [stdout]     |
[INFO] [stdout]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stdout]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 154 |         impl_singleton_arc_rwlock!(Foo, Foo);
[INFO] [stdout]     |         ------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc_rwlock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.94s
[INFO] running `Command { std: "docker" "inspect" "c7fea9c411851d53c6aabb8fa6caecb3a0aaae43ac6620dd959828e622812fa0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7fea9c411851d53c6aabb8fa6caecb3a0aaae43ac6620dd959828e622812fa0", kill_on_drop: false }`
[INFO] [stdout] c7fea9c411851d53c6aabb8fa6caecb3a0aaae43ac6620dd959828e622812fa0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0d733399ebb00fc8ac9fa9d7496cc68f163e9f2e61fca71d13e7684321c1e26e
[INFO] running `Command { std: "docker" "start" "-a" "0d733399ebb00fc8ac9fa9d7496cc68f163e9f2e61fca71d13e7684321c1e26e", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg`
[INFO] [stderr]  --> src/lib.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))]
[INFO] [stderr]   |             ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr]   = help: consider using a Cargo feature instead
[INFO] [stderr]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]            [lints.rust]
[INFO] [stderr]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
[INFO] [stderr]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `shared_singleton` (lib) generated 1 warning
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 119 |         impl_singleton_rc!(Foo, Foo);
[INFO] [stderr]     |         ---------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 126 |         impl_singleton_rc_cell!(Foo, Foo);
[INFO] [stderr]     |         --------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc_cell` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 133 |         impl_singleton_rc_refcell!(Foo, Foo);
[INFO] [stderr]     |         ------------------------------------ in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_rc_refcell` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 140 |         impl_singleton_arc!(Foo, Foo);
[INFO] [stderr]     |         ----------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 147 |         impl_singleton_arc_mutex!(Foo, Foo);
[INFO] [stderr]     |         ----------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/singleton.rs:20:26
[INFO] [stderr]     |
[INFO] [stderr]  20 |                 unsafe { INSTANCE.clone().unwrap() }
[INFO] [stderr]     |                          ^^^^^^^^ shared reference to mutable static
[INFO] [stderr] ...
[INFO] [stderr] 154 |         impl_singleton_arc_rwlock!(Foo, Foo);
[INFO] [stderr]     |         ------------------------------------ in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: this warning originates in the macro `__impl_singleton_base` which comes from the expansion of the macro `impl_singleton_arc_rwlock` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `shared_singleton` (lib test) generated 7 warnings (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shared_singleton-7b1545755aa9d89f)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test singleton::tests::arc_test ... ok
[INFO] [stdout] test singleton::tests::rc_cell_test ... ok
[INFO] [stdout] test singleton::tests::rc_test ... ok
[INFO] [stdout] test singleton::tests::rc_refcell_test ... ok
[INFO] [stdout] test singleton::tests::arc_mutex_test ... ok
[INFO] [stdout] test singleton::tests::arc_rwlock_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests shared_singleton
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - (line 142) ... ignored
[INFO] [stdout] test src/lib.rs - (line 172) ... ignored
[INFO] [stdout] test src/lib.rs - (line 29) ... ok
[INFO] [stdout] test src/lib.rs - (line 66) ... ok
[INFO] [stdout] test src/lib.rs - (line 48) ... ok
[INFO] [stdout] test src/lib.rs - (line 13) ... ok
[INFO] [stdout] test src/lib.rs - (line 109) ... ok
[INFO] [stdout] test src/lib.rs - (line 82) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.58s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0d733399ebb00fc8ac9fa9d7496cc68f163e9f2e61fca71d13e7684321c1e26e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d733399ebb00fc8ac9fa9d7496cc68f163e9f2e61fca71d13e7684321c1e26e", kill_on_drop: false }`
[INFO] [stdout] 0d733399ebb00fc8ac9fa9d7496cc68f163e9f2e61fca71d13e7684321c1e26e
